/*!
 * zx-editor v2.5.1
 * https://github.com/capricorncd/zx-editor
 * Copyright © 2017-present, capricorncd
 * Released under the MIT License
 * Released on: 2018-12-29 23:15:59
 */
.zxeditor-container .border-bottom:after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  content: '';
  border-top: 1px solid #eee;
  transform: scaleY(0.5);
}
.zxeditor-container {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  width: 100%;
}
.zxeditor-container * {
  margin: 0;
  padding: 0;
  color: #555;
  word-wrap: break-word;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
.zxeditor-container .zxeditor-content-wrapper {
  position: relative;
  padding-bottom: 10px;
  width: 100%;
  min-height: 200px;
  overflow-y: scroll;
  outline: none;
  box-sizing: border-box;
}
.zxeditor-container .zxeditor-content-wrapper.is-empty:before {
  position: absolute;
  z-index: 0;
  top: 10px;
  left: 15px;
  padding: 0;
  content: '输入正文';
  color: #ccc;
}
.zxeditor-container .zxeditor-content-wrapper p,
.zxeditor-container .zxeditor-content-wrapper h1,
.zxeditor-container .zxeditor-content-wrapper h2,
.zxeditor-container .zxeditor-content-wrapper h3,
.zxeditor-container .zxeditor-content-wrapper h4,
.zxeditor-container .zxeditor-content-wrapper li {
  position: relative;
  line-height: 1.5em;
  padding: 10px 0 0;
}
.zxeditor-container .zxeditor-content-wrapper h2 {
  font-size: 1.2em;
  font-weight: 800 !important;
}
.zxeditor-container .zxeditor-content-wrapper h4 {
  font-weight: 800 !important;
}
.zxeditor-container .zxeditor-content-wrapper blockquote {
  display: inline-block;
  padding-left: 1em;
  border-left: 3px solid #d0d0d0;
}
.zxeditor-container .zxeditor-content-wrapper ul {
  padding-left: 20px;
  list-style: disc;
}
.zxeditor-container .zxeditor-content-wrapper li,
.zxeditor-container .zxeditor-content-wrapper p {
  color: inherit;
}
.zxeditor-container .zxeditor-content-wrapper hr {
  margin: 0 20%;
  border: 0;
  border-top: 1px dashed #d0d0d0;
}
.zxeditor-container .zxeditor-content-wrapper .child-node-is-a a {
  display: block;
  padding: 0 21px 0 35px;
  height: 40px;
  background: #ddd;
  border-radius: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 40px;
  color: #555;
  text-decoration: none;
  background-image: url();
  background-repeat: no-repeat;
  background-position: 11px center;
  -webkit-background-size: 14px 14px;
  background-size: 14px 14px;
}
@media (-webkit-min-device-pixel-ratio: 3), (min-device-pixel-ratio: 3) {
  .zxeditor-container .zxeditor-content-wrapper .child-node-is-a a {
    background-image: url();
  }
}
.zxeditor-container .zxeditor-content-wrapper i.__remove {
  display: inline-block;
  position: absolute;
  z-index: 1;
  right: 0;
  top: 10px;
  width: 30px;
  height: 30px;
  background-image: url();
  background-repeat: no-repeat;
  background-size: 18px 18px;
  background-position: right 0;
  cursor: pointer;
}
@media (-webkit-min-device-pixel-ratio: 3), (min-device-pixel-ratio: 3) {
  .zxeditor-container .zxeditor-content-wrapper i.__remove {
    background-image: url();
  }
}
.zxeditor-container.fixed .zxeditor-content-wrapper {
  position: fixed;
  left: 0;
}
.zxeditor-container.fixed .zxeditor-content-wrapper.is-empty:before {
  top: 10px;
  left: 15px;
}
.zxeditor-container .zxeditor-emoji-wrapper {
  display: flex;
  flex-wrap: wrap;
  padding: 10px 0;
}
.zxeditor-container .zxeditor-emoji-wrapper i {
  flex: 0 0 12.5%;
  padding: 5px 0;
  text-align: center;
  font-size: 24px;
  font-style: normal;
}
.zxeditor-modal-wrapper {
  position: fixed;
  z-index: 100;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #fff;
  height: 260px;
  transition: transform 0.2s;
}
.zxeditor-modal-wrapper .zxeditor-modal-head {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 44px;
  background-color: #eee;
  border-top: 1px solid #d0d0d0;
  border-bottom: 1px solid #d0d0d0;
  box-sizing: border-box;
}
.zxeditor-modal-wrapper .zxeditor-modal-head .__switch {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  padding: 0 15px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8em;
  color: #00c1b7;
}
.zxeditor-modal-wrapper .zxeditor-modal-body {
  height: 216px;
  overflow-y: auto;
}
.zxeditor-container .text-style-outer-wrapper .__style-wrapper {
  position: relative;
  display: flex;
  height: 50px;
}
.zxeditor-container .text-style-outer-wrapper .__style-wrapper > div {
  position: relative;
  flex: 1;
  line-height: 50px;
  text-align: center;
  font-size: 1.5em;
}
.zxeditor-container .text-style-outer-wrapper .__style-wrapper > div:nth-child(2):before {
  position: absolute;
  top: 0;
  left: 0;
  height: 50px;
  content: '';
  border-left: 1px solid #eee;
  transform: scaleX(0.5);
}
.zxeditor-container .text-style-outer-wrapper .__style-wrapper > div:nth-child(2):after {
  position: absolute;
  top: 0;
  right: 0;
  height: 50px;
  content: '';
  border-right: 1px solid #eee;
  transform: scaleX(0.5);
}
.zxeditor-container .text-style-outer-wrapper .__style-wrapper > div.text-bold {
  font-weight: 800;
}
.zxeditor-container .text-style-outer-wrapper .__style-wrapper > div.text-italic {
  font-style: italic !important;
}
.zxeditor-container .text-style-outer-wrapper .__style-wrapper > div.through-line {
  text-decoration: line-through !important;
}
.zxeditor-container .text-style-outer-wrapper .__color-wrapper {
  display: flex;
  position: relative;
  height: 50px;
}
.zxeditor-container .text-style-outer-wrapper .__color-wrapper dd {
  flex: 1;
  position: relative;
  height: 50px;
}
.zxeditor-container .text-style-outer-wrapper .__color-wrapper dd:before {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -14px 0 0 -14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  content: '';
}
.zxeditor-container .text-style-outer-wrapper .__color-wrapper dd:after {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -17px 0 0 -17px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-sizing: border-box;
  content: '';
}
.zxeditor-container .text-style-outer-wrapper .__color-wrapper .__black:before {
  background-color: #555;
}
.zxeditor-container .text-style-outer-wrapper .__color-wrapper .__gray:before {
  background-color: #d0d0d0;
}
.zxeditor-container .text-style-outer-wrapper .__color-wrapper .__red:before {
  background-color: #ff583d;
}
.zxeditor-container .text-style-outer-wrapper .__color-wrapper .__yellow:before {
  background-color: #fdaa25;
}
.zxeditor-container .text-style-outer-wrapper .__color-wrapper .__green:before {
  background-color: #44c67b;
}
.zxeditor-container .text-style-outer-wrapper .__color-wrapper .__blue:before {
  background-color: #14b2e0;
}
.zxeditor-container .text-style-outer-wrapper .__color-wrapper .__purple:before {
  background-color: #b065e2;
}
.zxeditor-container .text-style-outer-wrapper .__color-wrapper .active.__black:after {
  border: 1px solid #555;
}
.zxeditor-container .text-style-outer-wrapper .__color-wrapper .active.__gray:after {
  border: 1px solid #d0d0d0;
}
.zxeditor-container .text-style-outer-wrapper .__color-wrapper .active.__red:after {
  border: 1px solid #ff583d;
}
.zxeditor-container .text-style-outer-wrapper .__color-wrapper .active.__yellow:after {
  border: 1px solid #fdaa25;
}
.zxeditor-container .text-style-outer-wrapper .__color-wrapper .active.__green:after {
  border: 1px solid #44c67b;
}
.zxeditor-container .text-style-outer-wrapper .__color-wrapper .active.__blue:after {
  border: 1px solid #14b2e0;
}
.zxeditor-container .text-style-outer-wrapper .__color-wrapper .active.__purple:after {
  border: 1px solid #b065e2;
}
.zxeditor-container .text-style-outer-wrapper .__tag-wrapper {
  border-top: 5px solid #eee;
}
.zxeditor-container .text-style-outer-wrapper .__tag-wrapper > div {
  position: relative;
  margin: 0 20px;
  height: 48px;
  line-height: 48px;
  text-align: center;
}
.zxeditor-container .text-style-outer-wrapper .__tag-wrapper > div:after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  content: '';
  border-top: 1px solid #eee;
  transform: scaleY(0.5);
}
.zxeditor-container .text-style-outer-wrapper .__tag-wrapper > div:last-child:after {
  border-top: 0;
}
.zxeditor-container .text-style-outer-wrapper .__tag-wrapper > div > b {
  position: relative;
  display: inline-block;
  vertical-align: top;
  margin-right: 8px;
  width: 20px;
  height: 48px;
  text-align: right;
}
.zxeditor-container .text-style-outer-wrapper .__tag-wrapper > div > b:after {
  display: inline-block;
}
.zxeditor-container .text-style-outer-wrapper .__tag-wrapper > div.__h2 {
  font-size: 1.2em;
  font-weight: 800 !important;
}
.zxeditor-container .text-style-outer-wrapper .__tag-wrapper > div.__h4 {
  font-weight: 800 !important;
}
.zxeditor-container .text-style-outer-wrapper .__tag-wrapper > div.__blockquote b:after {
  font-size: 2em;
  content: '"';
  margin-top: 8px;
}
.zxeditor-container .text-style-outer-wrapper .__tag-wrapper > div.__ul b:after {
  font-size: 1.5em;
  content: '·';
}
.zxeditor-container .text-style-outer-wrapper .__tag-wrapper > div i {
  display: none;
  position: absolute;
  z-index: 1;
  top: 18px;
  right: 30px;
  width: 16px;
  height: 8px;
  transform: rotate(-45deg);
}
.zxeditor-container .text-style-outer-wrapper .__tag-wrapper > div i.checked {
  display: inline-block;
}
.zxeditor-container .text-style-outer-wrapper .__tag-wrapper > div i.checked:before,
.zxeditor-container .text-style-outer-wrapper .__tag-wrapper > div i.checked:after {
  display: inline-block;
  position: absolute;
  background-color: #00c1b7;
  content: '';
}
.zxeditor-container .text-style-outer-wrapper .__tag-wrapper > div i.checked:before {
  top: 0;
  left: 0;
  width: 2px;
  height: 8px;
}
.zxeditor-container .text-style-outer-wrapper .__tag-wrapper > div i.checked:after {
  bottom: 0;
  left: 0;
  width: 14px;
  height: 2px;
}
.zxeditor-container .zxeditor-toolbar-wrapper {
  position: fixed;
  z-index: 99;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 48px;
  background-color: #fff;
}
.zxeditor-container .zxeditor-toolbar-wrapper dl {
  position: relative;
  min-width: 100%;
}
.zxeditor-container .zxeditor-toolbar-wrapper dl:after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  content: '';
  border-top: 1px solid #d0d0d0;
  transform: scaleY(0.5);
}
.zxeditor-container .zxeditor-toolbar-wrapper dl dd {
  float: left;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  line-height: 48px;
}
.zxeditor-container .zxeditor-toolbar-wrapper dl dd.__pic i {
  background-image: url();
}
@media (-webkit-min-device-pixel-ratio: 3), (min-device-pixel-ratio: 3) {
  .zxeditor-container .zxeditor-toolbar-wrapper dl dd.__pic i {
    background-image: url();
  }
}
.zxeditor-container .zxeditor-toolbar-wrapper dl dd.__emoji i {
  background-image: url();
}
@media (-webkit-min-device-pixel-ratio: 3), (min-device-pixel-ratio: 3) {
  .zxeditor-container .zxeditor-toolbar-wrapper dl dd.__emoji i {
    background-image: url();
  }
}
.zxeditor-container .zxeditor-toolbar-wrapper dl dd.__text i {
  background-image: url();
}
@media (-webkit-min-device-pixel-ratio: 3), (min-device-pixel-ratio: 3) {
  .zxeditor-container .zxeditor-toolbar-wrapper dl dd.__text i {
    background-image: url();
  }
}
.zxeditor-container .zxeditor-toolbar-wrapper dl dd.__link i {
  background-image: url();
}
@media (-webkit-min-device-pixel-ratio: 3), (min-device-pixel-ratio: 3) {
  .zxeditor-container .zxeditor-toolbar-wrapper dl dd.__link i {
    background-image: url();
  }
}
.zxeditor-container .zxeditor-toolbar-wrapper dl dd i {
  display: inline-block;
  width: 25px;
  height: 25px;
  background-size: cover;
}
.zxeditor-container .zxeditor-linkinput-wrapper {
  display: flex;
  position: fixed;
  z-index: 101;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
  justify-content: center;
  align-items: center;
}
.zxeditor-container .zxeditor-linkinput-wrapper .linkinput-wrapper {
  width: 80%;
  background-color: #fefefe;
  border-radius: 4px;
  overflow: hidden;
}
.zxeditor-container .zxeditor-linkinput-wrapper .linkinput-wrapper .linkinput-title {
  height: 3.5em;
  line-height: 3.5em;
  text-align: center;
}
.zxeditor-container .zxeditor-linkinput-wrapper .linkinput-wrapper .linkinput-group {
  display: flex;
  flex-direction: column;
  margin: 0 10px;
  border: 1px solid #eee;
  border-radius: 3px;
  background-color: #fff;
  box-sizing: border-box;
}
.zxeditor-container .zxeditor-linkinput-wrapper .linkinput-wrapper .linkinput-group .link-input {
  position: relative;
  display: block;
  margin: 0 5px;
  height: 40px;
  line-height: 40px;
  border: 0;
  outline: none;
}
.zxeditor-container .zxeditor-linkinput-wrapper .linkinput-wrapper .linkinput-group .link-input:first-child {
  border-bottom: 1px solid #eee;
}
.zxeditor-container .zxeditor-linkinput-wrapper .linkinput-wrapper .linkinput-group .link-input::placeholder {
  color: #d0d0d0;
}
.zxeditor-container .zxeditor-linkinput-wrapper .linkinput-wrapper .linkinput-footer {
  display: flex;
  justify-content: space-between;
  margin: 1em 10px;
}
.zxeditor-container .zxeditor-linkinput-wrapper .linkinput-wrapper .linkinput-footer button {
  display: inline-block;
  height: 40px;
  line-height: 40px;
  width: 47%;
  text-align: center;
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 3px;
  letter-spacing: 2px;
  box-sizing: border-box;
}
.zxeditor-container .zxeditor-linkinput-wrapper .linkinput-wrapper .linkinput-footer button.disabled {
  color: #eee;
}
.zx-dialog-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.zx-dialog-wrapper .zx-dialog-inner {
  width: 80%;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
.zx-dialog-wrapper .zx-dialog-inner .zx-dialog-message {
  margin: 0 auto;
  padding: 20px 0;
  width: 80%;
  min-height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  word-break: break-all;
}
.zx-dialog-wrapper .zx-dialog-inner .zx-dialog-footer {
  position: relative;
  display: flex;
}
.zx-dialog-wrapper .zx-dialog-inner .zx-dialog-footer:after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transform: scaleY(0.5);
  border-top: 1px solid #eee;
  content: '';
}
.zx-dialog-wrapper .zx-dialog-inner .zx-dialog-footer span {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 48px;
  letter-spacing: 2px;
  cursor: pointer;
}
.zx-dialog-wrapper .zx-dialog-inner .zx-dialog-footer span.__confirm {
  color: #1890ff;
}
.zx-dialog-wrapper .zx-dialog-inner .zx-dialog-footer span:nth-child(2):after {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-left: 1px solid #eee;
  transform: scaleX(0.5);
  content: '';
}
@media screen and (max-width: 320px) {
  .zx-dialog-wrapper .zx-dialog-inner {
    border-radius: 8px;
  }
  .zx-dialog-wrapper .zx-dialog-inner .zx-dialog-message {
    padding: 15px 0;
  }
  .zx-dialog-wrapper .zx-dialog-inner .zx-dialog-footer span {
    height: 40px;
  }
}
@media screen and (min-width: 640px) {
  .zx-dialog-wrapper .zx-dialog-inner {
    width: 512px;
  }
}
